{extend name="index/index"}
{block name="main"}

        <!-- 博客列表 -->
        <div class="span9">
		  <div class="row-fluid">
			<div class="page-header">
				<h1>BLOG-CLASS<small>博客分类</small></h1>
			</div>



			<table class="table table-striped table-bordered table-condensed">
				<thead>
					<tr>
						<th>ID</th>
						<th>博客分类</th>
						<th>子分类数量</th>
						<th>pid</th>
						<th>path</th>
					    <th>操作</th>
					</tr>
				</thead>
				<tbody>
				{volist name="list"   id="vo"}
				<tr class="list-users">
					<td>{$vo.id}</td>
					<td>{$vo.category_name}</td>
					<td>{$vo.son_count}</td>
					<td>{$vo.pid}</td>
					<td>{$vo.path}</td>
					<td><div class="btn-group">
							<a class="btn btn-mini dropdown-toggle" data-toggle="dropdown" href="#">Actions <span class="caret"></span></a>
							<ul class="dropdown-menu">
								<li><a href="{:url('bclass/newsonblogclass',['id'=>$vo['id']])}"><i class="icon-pencil"></i> 新建子级分类</a></li>
								<li><a href="{:url('bclass/editclassname',['id'=>$vo['id']])}"><i class="icon-pencil"></i> Edit</a></li>
								<li><a href="{:url('bclass/deleteclass',['id'=>$vo['id'],'son_count'=>$vo['son_count']])}"><i class="icon-trash"></i> Delete</a></li>
								<li><a href="{:url('bclass/sonblogclasslist',['id'=>$vo['id']])}"><i class="icon-user"></i> 进入自子级分类列表</a></li>
								<li class="nav-header">Permissions</li>
								<li><a href="#"><i class="icon-lock"></i> Make <strong>Admin</strong></a></li>
								<li><a href="#"><i class="icon-lock"></i> Make <strong>Moderator</strong></a></li>
								<li><a href="#"><i class="icon-lock"></i> Make <strong>User</strong></a></li>
							</ul>
						</div></td>
				</tr>
				{/volist}

				</tbody>
			</table>
			<div class="pagination">
				<ul>
					<li><a href="#">Prev</a></li>
					<li class="active">
						<a href="#">1</a>
					</li>
					<li><a href="#">2</a></li>
					<li><a href="#">3</a></li>
					<li><a href="#">4</a></li>
					<li><a href="#">Next</a></li>
				</ul>
			</div>
			<a href="../User/new-user.html" class="btn btn-success">New Class</a>
		  </div>
        </div>
      </div>

      <hr>

{/block}